package com.yang.SpringTest.annotation.qualifierLearn;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * <p>测试类</p>
 *
 * @author By: chengxuyuanshitang
 * Package com.yang.SpringTest.annotation.qualifierLearn
 * Ceate Time 2024-03-29 16:37
 */
@Slf4j
public class QualifierDemoTest {
    public static void main (String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext (QualifierDemoConfig.class);

        QualifierController qualifierController = context.getBean (QualifierController.class);
        qualifierController.test ();
    }
}



